package com.ktgj.pay.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
public class ConstantPropertiesUtils implements InitializingBean {


    private String appid = "wx0c05e597257dea17";


    private String partner = "1237943102";


    private String partnerkey = "a3bcb90d2d73fd0763f2fc1d5c13362b";


    private String cert = "";

    public static String APPID;
    public static String PARTNER;
    public static String PARTNERKEY;
    public static String CERT;

    @Override
    public void afterPropertiesSet() throws Exception {
        APPID = appid;
        PARTNER = partner;
        PARTNERKEY = partnerkey;
        CERT = cert;
    }
}
